package com.supor.aiot.food.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.supor.aiot.food.R;
import com.supor.aiot.food.bean.CommonTagBean;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.List;

public class FlexTextAdapter extends BaseQuickAdapter<String, BaseViewHolder> {
    public FlexTextAdapter(int layoutResId, @Nullable List<String> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder baseViewHolder, String bean) {
        baseViewHolder.setText(R.id.tv_flex_desc,bean);
    }
}
